package com.yanqu.road.server.timer.union;

import com.yanqu.road.server.manger.union.UnionMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class UnionFlagTask extends GeneralTask {
    protected Logger logger = LogManager.getLogger(UnionFlagTask.class.getName());

    @Override
    public void doRun() {
        try {
            UnionMgr.checkUnionFlag();
        } catch (Exception e) {
            logger.error("check union flag error.", e);
        }
    }
}
